Einhugur Word Plugin for Xojo

Section.SetPageSize Method

Sets page size for the pages in the section. This variation takes in detailed size values and printer paper code.

SetPageSize(
   width as Double,
   height as Double,
   unit as EinhugurWord.Units,
   printerPadpercode as EinhugurWord.PrinterPaperCodes)

Parameters

width
Width in the unit specified by the unit parameter.
height
Height in the unit specified by the unit parameter.
unit
Unit for the width and height parameters.
printerPadpercode
Printer paper code to use.

Remarks

When using custom sizes then printer paper code often does not match the actual size.

See Also

Section Class